
package com.scs.application.modules.msg.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.msg.entity.PushedRecord;
import com.scs.application.modules.msg.request.PushedRecordQueryRequest;
import com.scs.application.modules.order.entity.PurchaseOrder;
import me.chanjar.weixin.common.bean.WxJsapiSignature;
import org.springframework.scheduling.annotation.Async;

import java.util.List;

/**
* 已推送记录 service 接口
*
*/
public interface PushedRecordService extends IBaseService<PushedRecord> {

    List<PushedRecord> list(PushedRecordQueryRequest request);


    IPage<PushedRecord> page(PushedRecordQueryRequest request);

    @Async
    void pushVxPoPassAsync(PurchaseOrder purchaseOrder,boolean isTest);

    @Async
    void pushVxPoInAsync(PurchaseOrder purchaseOrder);

    @Async
    void pushVxBusCommonAsync(List<String> spIdList,  String hpName, String taskType, String toPath);

    WxJsapiSignature getWxConfig(String url);
}
